<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/19
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>--%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>物业管理系统 管理员后台</title>
    <link rel="shortcut icon" href="favicon.ico"/>
    <link rel="bookmark" href="favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/easyui/css/default.css" />
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/easyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/easyui/themes/icon.css" />
    <script type="text/javascript" src="<%=request.getContextPath()%>/static/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/static/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src='<%=request.getContextPath()%>/static/easyui/js/outlook2.js'> </script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/static/easyui/locale/easyui-lang-zh_CN.js'/>"> </script>

    <script type="text/javascript">

        var _menus = {"menus":[
                // {"menuid":"1","icon":"","menuname":"成绩统计分析",
                //     "menus":[
                //         {"menuid":"11","menuname":"成绩列表","icon":"icon-exam","url":"/pm/Exam?action=page"},
                //     ]
                // },
                {"menuid":"2","icon":"","menuname":"请假",
                    "menus":[
                        {"menuid":"21","menuname":"年休假","icon":"icon-user-student","url":"/s/leave/page"},
                    ]
                },
                {"menuid":"3","icon":"","menuname":"请假审批",
                    "menus":[
                        {"menuid":"31","menuname":"处长审核","icon":"icon-user-teacher","url":"/s/audit/page"},
                        {"menuid":"32","menuname":"秘书长审核","icon":"icon-user-teacher","url":"/s/Room?action=page"},
                    ]
                },
                {"menuid":"4","icon":"","menuname":"系统管理",
                    "menus":[
                        {"menuid":"41","menuname":"日志管理","icon":"icon-world","url":"/s/log/page"},
                        {"menuid":"42","menuname":"用户管理","icon":"icon-house","url":"/s/user/page"},
                        {"menuid":"43","menuname":"角色管理","icon":"icon-book-open","url":"/s/CourseListServlet?action=page"}
                    ]
                },
                {"menuid":"5","icon":"","menuname":"停车位管理",
                    "menus":[
                        {"menuid":"51","menuname":"车位管理","icon":"icon-set","url":"../admin/adminPersonal.html"},
                    ]
                }
            ]};

    </script>

</head>
<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">
<noscript>
    <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
        <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' />
    </div>
</noscript>
<div region="north" split="true" border="false" style="overflow: hidden; height: 30px;
        background: url(<%=request.getContextPath()%>/static/h-ui/images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%;
        line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
    <span style="float:right; padding-right:20px;" class="head"><span style="color:red; font-weight:bold;">${loginUser.realname}&nbsp;</span>您好&nbsp;&nbsp;&nbsp;<a href="#" id="loginOut">安全退出</a></span>
    <span style="padding-left:10px; font-size: 16px; ">物业管理系统</span>
</div>
<div region="south" split="true" style="height: 30px; background: #D2E0F2; ">
    <div class="footer">Copyright &copy; Power By Mryang</div>
</div>
<div region="west" hide="true" split="true" title="导航菜单" style="width:180px;" id="west">
    <div id="nav" class="easyui-accordion" fit="true" border="false">
        <!--  导航内容 -->
    </div>

</div>
<div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
    <div id="tabs" class="easyui-tabs"  fit="true" border="false" >

        <div title="欢迎使用" style="padding:20px;overflow:hidden; color:red; ">
            <p style="font-size: 50px; line-height: 60px; height: 60px;"><%--${systemInfo.schoolName}--%></p>
            <p style="font-size: 25px; line-height: 30px; height: 30px;">欢迎使用请休假系统</p>
            <p>开发人员：陈泽辉</p>
            <p>开发周期：2021/12/27 --- 2021/12/30（共计4天）</p>

            <hr />
            <h2>系统环境</h2>
            <p>系统环境：Windows</p>
            <p>开发工具：intelij idea</p>
            <p>Java版本：JDK 1.8</p>
            <p>服务器：tomcat 8</p>
            <p>数据库：MySQL 5.5</p>
            <p>系统采用技术： Servlet+Jsp+Jdbc+dbutils+EasyUI+jQuery+Ajax+面向接口编程</p>
        </div>
    </div>
</div>

<iframe width=0 height=0 src="refresh.jsp"></iframe>

</body>
</html>

<script>
    $('#loginOut').click(function () {
        $.messager.confirm('警告', '确认注销吗？', function(r){
            if (r){
                // //用户点击了确认按钮
                // $.get('/s/logout',function (data) {
                //     if (data.status == 200) {                        // //注销成功
                //         // window.location.reload();
                //         window.location.href = '/s/login';
                //
                //     }
                // });
                window.location.href = '/s/logout';

            }

        });


    })
</script>